package com.itheima.aspect;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;

@Component
@Aspect
public class AnnotationAspect {

    //通知方法
    @Before("@annotation(com.itheima.annotation.MyLog)")
    public void before(){
        System.out.println("前置通知....");
    }
}
